Sets the transparency of a window. (Windows 2000/XP or later)
WinSetTrans ( "title", "text", transparency )
Parameters
title | The title of the window to change. See Title special definition. |
text | The text of the window to change. |
transparency | A number in the range 0 - 255. The lower the number, the more transparent the window will become. 255 = Solid, 0 = Invisible. |
Return Value
Success: | Returns Non-zero. |
Failure: | Returns 0, @error will be set to 1 if the function isn't supported on an OS. |
Remarks
Requires Windows 2000/XP or later.
Related
None.
Example
Opt("WinTitleMatchMode", 2) ; Match substring
WinSetTrans("Notepad", "", 170) ; Make Notepad window semi-transparent.